package edu.sctu.practice.class02.liuli.practice.triangle;

/**
 * Created by Administrator on 2015/10/17.
 */
public class Triangle {
    int x,y,z;

    public Triangle(int i,int j,int k){
        x=i;
        y=j;
        z=k;
        if (k*k==i*i+j*j){
            System.out.println("这是一个直角三角形");
        }
        else
            System.out.println("这不是一个直角三角形");
    }
}


